package com.hs.dnms.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hs.core.dao.IBaseDao;
import com.hs.core.service.impl.BaseSevice;
import com.hs.core.utils.PageParam;
import com.hs.core.utils.PageUtil;
import com.hs.dnms.dao.impl.DnmsFileDao;
import com.hs.dnms.service.IDnmsFileService;
@Service 
public class DnmsFileService extends BaseSevice implements IDnmsFileService{
    private  DnmsFileDao dataDao;
	@Override
	public IBaseDao getBaseDao() {
		
		return dataDao;
	}
	@Autowired
	public void setDataDao(DnmsFileDao dataDao) {
		this.dataDao = dataDao;
	}

	public PageUtil getPageList(PageParam pageParam){
		return this.dataDao.getPageList(pageParam);
	}
	
	public PageUtil getList(PageParam pageParam) {
		 
		return this.dataDao.getList(pageParam);
	}
}
